package beans;

import entities.Masteris;
import controllers.MasterisFacade;
import java.io.Serializable;
import javax.annotation.PostConstruct;
import javax.ejb.EJB;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;

@ManagedBean(name = "masterisController")
@ViewScoped
public class MasterisController extends AbstractController<Masteris> implements Serializable {

    @EJB
    private MasterisFacade ejbFacade;

    public MasterisController() {
        super(Masteris.class);
    }

    @PostConstruct
    public void init() {
        super.setFacade(ejbFacade);
    }
}
